(function () {
	var clientResource = nsbase.resources.clientResource;
	var enumExtends = {
		gameOpennessEnum:{
			common: {value: 1, order: 1, text: clientResource.enumGameCommon}, //"所有人可见"},
			friend: {value: 2, order: 2, text: clientResource.enumGameFriend},// "好友可见"},
			invited:{value: 3, order: 3, text: clientResource.enumGameInvited},// "受邀请人可见"},
			privacy:{value: 4, order: 4, text: clientResource.enumGamePrivacy}// "个人可见"}
		},
		gameTypeEnum:{
			play:{value: 1, order: 1, text: clientResource.enumGamePlay}, //"即将开始"},
			playing:{value: 2, order: 2, text: clientResource.enumGamePlaying}, //"正在进行"},
			finish:{value: 3, order: 3, text: clientResource.enumGameFinish} //"已经玩过"}
		},
		messageType:{
			system:{value: 1, order: 1, text:  clientResource.enumMsgSystem}, //"系统消息"},
			inStation:{value: 2, order: 2, text:  clientResource.enumMsgInStation}, //"站内消息"},
		},
		messageStatus:{
			unRead:{value: 1, order: 1, text: clientResource.enumMsgUnRead}, //"未读"},
			read:  {value: 2, order: 2, text: clientResource.enumMsgRead}, //"已读"},
			agree: {value: 3, order: 3, text: clientResource.enumMsgAgree}, //"已同意"},
			ignore:{value: 4, order: 4, text: clientResource.enumMsgIgnore}, //"已忽略"}
		},
		userPrivacy:{
			common:{value: 1, order: 1, text: clientResource.enumUsePricayCommon}, //"所有人|允许"},
			friend:{value: 2, order: 2, text: clientResource.enumUsePricayFriend}, //"仅好友"},
			self:{value: 3, order: 3, text: clientResource.enumUsePricaySelf}, //"仅自己|禁止"}
		},
		relationshipEnum:{
			friend:{value: 1, order: 1, text: clientResource.enumRelationFriend}, //"好友"},
			strange:{value: 2, order: 2, text: clientResource.enumRelationStrange}, //"陌生人"}
		},
		memberRoleEnum:{
			strange:{value: 0, order: 0, text: clientResource.enumRoleStrange}, //"非成员"},
			creator:{value: 1, order: 1, text: clientResource.enumRoleCreator}, //"创建者"},
			admin:{value: 2, order: 2, text: clientResource.enumRoleAdmin}, //"管理员"},
			member:{value: 3, order: 3, text: clientResource.enumRoleMember}, //"普通成员"}
		},
		rankingEnum:{
			steady:{value: 0, order: 1, text: clientResource.enumRankingSteady}, //"持平"},
			asc:{value: 1, order: 1, text: clientResource.enumRankingAsc}, //"上升"},
			desc:{value: -1, order: 1, text: clientResource.enumRankingDesc}, //"下降"}
		},
		helpTypeEnum:{
			introduction:{value: 1, order: 1, text: clientResource.enumHelpIntroduction}, //"入门基础"},
			binding:{value: 2, order: 2, text: clientResource.enumHelpBinding}, //"绑定设置"},
			hardware:{value: 3, order: 3, text: clientResource.enumHelpHardware}, //"硬件信息"},
			privacy:{value: 4, order: 4, text: clientResource.enumHelpPrivacy}, //"隐私安全"},
			service:{value: 5, order: 5, text: clientResource.enumHelpService}, //"客服支持"}
		}
	};
	
	nsbase.enums = $.extend(true, {}, nsbase.enums,enumExtends);
	nsbase.enums.rebuildEnumTypes();
})();
